package com.yao.ro.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* 装备制作表
*
* @author autoCode
* @version 1.0.0-SNAPSHOT
* @date 2020-04-22
*/
@Data
@Accessors(chain = true)
public class EquipmentEntity implements Serializable {

private static final long serialVersionUID = 1L;

    /**
    * 自增主键
    */
    @TableId(value = "`id`", type = IdType.AUTO)
    private Integer id;
    /**
    * 物品id
    */
    @TableField(value = "`goodsId`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private Integer goodsId;
    /**
    * 装备名称（物品名称）
    */
    @TableField(value = "`equipName`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private String equipName;
    /**
    * 制作总费用(成本)
    */
    @TableField(value = "`cost`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private BigDecimal cost;
    /**
    * 交易所费用
    */
    @TableField(value = "`price`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private BigDecimal price;
    /**
    * 历史最低价格
    */
    @TableField(value = "`historyMinPrice`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private BigDecimal historyMinPrice;
    /**
    * 历史最高价格
    */
    @TableField(value = "`historyMaxPrice`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private BigDecimal historyMaxPrice;
    /**
    * 完成 1-完成
    */
    @TableField(value = "`finishStatus`", updateStrategy = FieldStrategy.NOT_EMPTY)
    private Integer finishStatus;
    /**
    * 创建时间
    */
    @TableField(value = "`createTime`", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    /**
    * 更新时间
    */
    @TableField(value = "`updateTime`", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}